package office.service.business;

import java.util.List;

import office.action.business.form.StorageConditionForm;
import office.action.business.form.StorageForm;
import office.action.business.wrapper.StorageWrapper;
import platform.common.bo.Page;
import platform.common.exception.BusinessException;

/**
 * 产品明细管理
 * @author ZhangYQ
 *
 */
public interface IStorageService {
	/**
	 * 获取分页信息
	 * @return
	 * @throws BusinessException
	 */
	public Page getPageInfo(StorageConditionForm condition)throws BusinessException;
	/**
	 * 获取所有的销售机会
	 * @param page
	 * @return
	 * @throws BusinessException
	 */
	public List<StorageWrapper> findAllStorage(StorageConditionForm condition,Page page)throws BusinessException;
	/**
	 * 编辑销售机会
	 * @param saleChanceForm
	 * @throws BusinessException
	 */
	public void editStorage(StorageForm form)throws BusinessException;
	
	/**
	 * 删除销售机会
	 * @param id
	 * @throws BusinessException
	 */
	public void delStorageById(String id)throws BusinessException;
	/**
	 * 根据id获取对象
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public StorageForm getById(String id)throws BusinessException;
}
